define(["jquery","servers"], function ($,servers) {
    return Backbone.Model.extend({
        defaults: function () {
            return {};
        },
        getAllList:function () {
            var self = this;
            servers.media.list(function(res){
                res.data=res.success ? $.ExtCommon.convertListByPara(res.data) : [];
                self.set({dataAllList: res});
                self.trigger('bind:AllList');
            });
        }
    });
});